package com.lframework.xingyun.basedata.vo.member;

import lombok.Data;
import com.lframework.starter.web.core.vo.PageVo;
import com.lframework.starter.web.core.vo.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class QueryMemberAccountVo extends PageVo implements BaseVo, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 会员id
     */
    @ApiModelProperty("会员id")
    @NotBlank(message = "请输入会员id！")
    private String memberId;

    /**
     * 有效积分
     */
    @ApiModelProperty("有效积分")
    @NotNull(message = "请输入有效积分！")
    private Long effectiveScore;

    /**
     * 冻结积分
     */
    @ApiModelProperty("冻结积分")
    @NotNull(message = "请输入冻结积分！")
    private Long freezeScore;
}
